@import "../../../css/mixin";
/**
 * 选择列表插件
 * varstion 2.0.0
 * by Houfeng
 * Houfeng@DCloud.io
 */

$rem: 1rem;

.mui-picker {
  position: relative;
  height: 4* $rem;
  overflow: hidden;
  border: solid 0.02* $rem rgba(0, 0, 0, 0.1);
  -webkit-user-select: none;
  user-select: none;
  box-sizing: border-box;
  list-style: none;
}

.mui-picker-inner {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  -webkit-mask-box-image: -webkit-linear-gradient(bottom, transparent, transparent 5%, #fff 20%, #fff 80%, transparent 95%, transparent);
  -webkit-mask-box-image: linear-gradient(top, transparent, transparent 5%, #fff 20%, #fff 80%, transparent 95%, transparent);
}

.mui-pciker-list,
.mui-pciker-rule {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 0.72* $rem;
  line-height: 0.72* $rem;
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -0.36* $rem;
}

.mui-pciker-rule-bg {
  z-index: 0;
  /*background-color: #cfd5da;*/
}

.mui-pciker-rule-ft {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  z-index: 2;
  width: 1.28rem;
  overflow: visible;
  margin-left: 3.15rem;
  border-top: solid 0.02rem rgba(0, 0, 0, 0.1);
  border-bottom: solid 0.02rem rgba(0, 0, 0, 0.1);
}

.mui-pciker-list {
  z-index: 1;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: perspective(20* $rem) rotateY(0deg) rotateX(0deg);
  transform: perspective(20* $rem) rotateY(0deg) rotateX(0deg);
}

.mui-pciker-list li {
  width: 100%;
  height: 100%;
  position: absolute;
  text-align: center;
  vertical-align: middle;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: hidden;
  box-sizing: border-box;
  font-size: 0.32* $rem;
  font-family: "Helvetica Neue", "Helvetica", "Arial", "sans-serif";
  color: #ff0000;
  padding: 0 0.16* $rem;
  white-space: nowrap;
  -webkit-text-overflow: ellipsis;
  text-overflow: ellipsis;
  overflow: hidden;
  cursor: default;
  visibility: hidden;
  list-style: none;
}

.mui-pciker-list li.highlight,
.mui-pciker-list li.visible {
  visibility: visible;
}

.mui-pciker-list li.highlight {
  color: #ff0000;
}